package com.flea.hclv.model.dao;

import com.flea.hclv.model.entity.HCarReserveItem;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface HCarReserveItemMapper {
    int deleteByPrimaryKey(String id);

    int insert(HCarReserveItem record);

    int insertSelective(HCarReserveItem record);

    HCarReserveItem selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(HCarReserveItem record);

    int updateByPrimaryKey(HCarReserveItem record);

    int insertList(@Param("hCarReserveItems") List<HCarReserveItem> hCarReserveItems);

    List<HCarReserveItem> selectByReserveCarId(String reserveCarId);

    List<HCarReserveItem> selectByReserveCarIdAndPaging(RowBounds rowBounds, @Param("reserveCarId") String reserveCarId);
}